package com.wmada.toolkit.rpc;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author will.ma
 * @date 2020/11/2
 */
public class PrintParser extends CmdParser {

    private static final Logger LOGGER = LoggerFactory.getLogger(PrintParser.class);

    @Override
    public void parse(String line) throws CmdParseException {
        LOGGER.info(line);
    }

    @Override
    public void parseError(String line) throws CmdParseException {
        LOGGER.warn(line);
    }

}
